* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #b0b0b0;
}

.header {
    .nav-wrap {
        width: 100%;
        background: #333;
        .nav {
            width: 1226px;
            height: 40px;
            margin: 0 auto;
            background: #333;
            .list-l {
                width: 855px;
                height: 40px;
                float: left;
                li {
                    font-size: 12px;
                    float: left;
                    line-height: 40px;
                    padding: 0 8px;
                    a {
                        color: #b0b0b0;
                        &:hover {
                            color: #fff;
                        }
                    }
                }
            }
            .list-r {
                margin-left: 96px;
                float: left;
                li {
                    font-size: 12px;
                    float: left;
                    line-height: 40px;
                    padding: 0 6px;
                    .a1 {
                        display: inline-block;
                        width: 120px;
                        height: 40px;
                        background: #424242;
                        text-align: center;
                        &:hover {
                            background: #fff;
                        }
                    }
                    a {
                        color: #b0b0b0;
                        &:hover {
                            color: #f56600;
                        }
                    }
                }
            }
        }
    }
    .nav-b {
        width: 1226px;
        height: 100px;
        margin: 0 auto;
        .nav-b-l {
            background: url(https://account.xiaomi.com/static/res/349d9c1/account-static/respassport/acc-2014/img/milogo.png) no-repeat;
            width: 55px;
            height: 55px;
            margin-top: 22.5px;
            float: left;
        }
        ul {
            float: left;
            width: 666px;
            height: 100px;
            margin-left: 189px;
            li {
                float: left;
                line-height: 100px;
                font-size: 16px;
                a {
                    color: #333;
                    padding: 26px 10px 38px;
                    &:hover {
                        color: #f56600;
                    }
                }
            }
        }
        .nav-b-r {
            float: left;
            .ipt1 {
                border: 1px solid pink;
                width: 243px;
                height: 48px;
                margin-top: 26px;
                float: left;
                text-indent: 10px;
                outline: none;
            }
            .ipt2 {
                float: left;
                border: 1px solid pink;
                width: 50px;
                height: 50px;
                margin-top: 26px;
                background: none;
                border-left: none;
                outline: none;
                cursor: pointer;
                &:hover {
                    background: #f56600;
                    color: #fff;
                }
            }
        }
    }
}

.banner-wrap {
    border-top: 1px solid #e0e0e0;
    box-shadow: 5px 3px 5px #e0e0e0;
}

.banner {
    background: #fff;
    width: 1226px;
    height: 60px;
    margin: 0 auto;
    h2 {
        font-size: 18px;
        font-weight: 400;
        line-height: 60px;
        color: #424242;
        float: left;
    }
    ul {
        float: right;
        line-height: 60px;
        li {
            float: left;
            margin: 0 14px;
            a {
                color: #616161;
                font-size: 14px;
                &:hover {
                    color: #f56600;
                }
            }
        }
    }
}

.main {
    padding: 20px 0;
    width: 1226px;
    margin: 0 auto;
    .main-l {
        img {
            width: 560px;
            height: 560px;
        }
        float: left;
        width: 560px;
        height: 560px;
        background-color: pink;
    }
    .main-r {
        width: 566px;
        float: right;
        .main-r-t {
            h2 {
                font-size: 24px;
                font-weight: 400;
                color: #212121;
            }
            p {
                color: #b0b0b0;
                padding-top: 8px;
                em {
                    color: rgb(255, 74, 0);
                    font-style: normal;
                    font-size: 13.3px;
                }
                b {
                    font-weight: normal;
                    font-size: 13px;
                }
            }
            span {
                color: #ff6700;
                display: block;
                margin: 14px 0;
                font-size: 14px;
            }
            a {
                display: block;
                color: #ff6700;
                font-size: 18px;
                border-bottom: 1px solid #999;
                padding-bottom: 18px;
            }
        }
        .main-r-c {
            p {
                padding: 30px 50px;
                border: 1px solid #e0e0e0;
                background: #fafafa;
                margin: 20px 0;
                span {
                    font-size: 14px;
                    display: inline-block;
                    margin-right: 8px;
                }
                a {
                    color: #ff6700;
                    font-size: 14px;
                }
                em {
                    font-style: normal;
                    display: block;
                    color: #ff6700;
                }
            }
            h3 {
                font-size: 18px;
                font-weight: normal;
                margin: 20px 0 10px 0;
            }
            ul {
                width: 600px;
                height: 100px;
                li {
                    width: 292px;
                    height: 42px;
                    float: left;
                    border: 1px solid #999;
                    text-align: center;
                    line-height: 42px;
                    cursor: pointer;
                    &:hover {
                        border: 1px solid #ff6700;
                        color: #ff6700;
                    }
                    &:first-child {
                        border: 1px solid #ff6700;
                        color: #ff6700;
                    }
                    &:nth-of-type(1),
                    &:nth-of-type(2) {
                        margin-bottom: 10px;
                    }
                    &:nth-of-type(1),
                    &:nth-of-type(3) {
                        margin-right: 8px;
                    }
                }
            }
        }
        .main-r-b {
            width: 535px;
            padding: 30px;
            background: #f9f9fa;
            p {
                color: #616161;
                font-size: 14px;
                span {
                    float: left;
                }
                em {
                    float: right;
                    font-style: normal;
                }
            }
            h2 {
                color: #ff6700;
                font-size: 24px;
                padding-top: 40px;
                font-weight: normal;
            }
        }
    }
}

.web {
    margin: 30px 0;
    text-align: center;
    line-height: 57px;
    button {
        float: left;
        width: 300px;
        height: 57px;
        background: #ff6700;
        border: none;
        color: #fff;
        cursor: pointer;
        outline: none;
    }
    a {
        float: left;
        display: block;
        width: 142px;
        height: 54px;
        background: #b0b0b0;
        border: 1px solid #b0b0b0;
        margin-left: 10px;
        color: #fff;
    }
}

.bottom {
    width: 1226px;
    margin: 0 auto;
    margin-top: 50px;
    .bottom-t {
        overflow: hidden;
        width: 1226px;
        height: 79px;
        border-bottom: 1px solid #666;
        ul {
            display: flex;
            justify-content: space-around;
            li {
                float: left;
                font-size: 16px;
                line-height: 79px;
                a {
                    color: #616161;
                    &:hover {
                        color: #f56600;
                    }
                }
            }
        }
    }
    .bottom-b {
        width: 1226px;
        height: 170px;
        padding-bottom: 30px;
        .bottom-b-l {
            float: left;
            ul {
                width: 160px;
                float: left;
                li {
                    a {
                        color: #757575;
                        &:hover {
                            color: #ff6700;
                        }
                    }
                }
                h4 {
                    margin: 30px 0;
                    font-size: 14px;
                    color: #424242;
                    font-weight: normal;
                }
            }
        }
        .bottom-b-r {
            float: right;
            width: 251px;
            h3 {
                font-size: 22px;
                color: #ff6700;
                padding: 0 37px;
                margin-top: 30px;
            }
            p {
                font-size: 12px;
                padding: 10px 53px;
                color: #616161;
            }
            span {
                display: block;
                width: 118px;
                height: 28px;
                border: 1px solid #ff6700;
                text-align: center;
                line-height: 28px;
                font-size: 12px;
                margin-left: 53px;
                margin-bottom: 10px;
                cursor: pointer;
                &:hover {
                    background: #ff6700;
                }
            }
            img {
                margin-left: 40px;
            }
        }
    }
}